Optimal. Leaf size=101 \[ \frac {\sqrt {1+x}}{9 (1-x)^{9/2}}+\frac {4 \sqrt {1+x}}{63 (1-x)^{7/2}}+\frac {4 \sqrt {1+x}}{105 (1-x)^{5/2}}+\frac {8 \sqrt {1+x}}{315 (1-x)^{3/2}}+\frac {8 \sqrt {1+x}}{315 \sqrt {1-x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 101, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {47, 37}
\begin {gather*} \frac {8 \sqrt {x+1}}{315 \sqrt {1-x}}+\frac {8 \sqrt {x+1}}{315 (1-x)^{3/2}}+\frac {4 \sqrt {x+1}}{105 (1-x)^{5/2}}+\frac {4 \sqrt {x+1}}{63 (1-x)^{7/2}}+\frac {\sqrt {x+1}}{9 (1-x)^{9/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 47
Rubi steps
\begin {align*} \int \frac {1}{(1-x)^{11/2} \sqrt {1+x}} \, dx &=\frac {\sqrt {1+x}}{9 (1-x)^{9/2}}+\frac {4}{9} \int \frac {1}{(1-x)^{9/2} \sqrt {1+x}} \, dx\\ &=\frac {\sqrt {1+x}}{9 (1-x)^{9/2}}+\frac {4 \sqrt {1+x}}{63 (1-x)^{7/2}}+\frac {4}{21} \int \frac {1}{(1-x)^{7/2} \sqrt {1+x}} \, dx\\ &=\frac {\sqrt {1+x}}{9 (1-x)^{9/2}}+\frac {4 \sqrt {1+x}}{63 (1-x)^{7/2}}+\frac {4 \sqrt {1+x}}{105 (1-x)^{5/2}}+\frac {8}{105} \int \frac {1}{(1-x)^{5/2} \sqrt {1+x}} \, dx\\ &=\frac {\sqrt {1+x}}{9 (1-x)^{9/2}}+\frac {4 \sqrt {1+x}}{63 (1-x)^{7/2}}+\frac {4 \sqrt {1+x}}{105 (1-x)^{5/2}}+\frac {8 \sqrt {1+x}}{315 (1-x)^{3/2}}+\frac {8}{315} \int \frac {1}{(1-x)^{3/2} \sqrt {1+x}} \, dx\\ &=\frac {\sqrt {1+x}}{9 (1-x)^{9/2}}+\frac {4 \sqrt {1+x}}{63 (1-x)^{7/2}}+\frac {4 \sqrt {1+x}}{105 (1-x)^{5/2}}+\frac {8 \sqrt {1+x}}{315 (1-x)^{3/2}}+\frac {8 \sqrt {1+x}}{315 \sqrt {1-x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 40, normalized size = 0.40 \begin {gather*} \frac {\sqrt {1+x} \left (83-100 x+84 x^2-40 x^3+8 x^4\right )}{315 (1-x)^{9/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 2 in
optimal.
time = 49.64, size = 525, normalized size = 5.20 \begin {gather*} \text {Piecewise}\left [\left \{\left \{\frac {83-100 x+84 x^2-40 x^3+8 x^4}{315 \left (1-4 x+6 x^2-4 x^3+x^4\right ) \sqrt {\frac {1-x}{1+x}}},\frac {1}{\text {Abs}\left [1+x\right ]}>\frac {1}{2}\right \}\right \},\frac {-315 I}{-10080 \left (1+x\right ) \sqrt {1-\frac {2}{1+x}}-2520 \left (1+x\right )^3 \sqrt {1-\frac {2}{1+x}}+315 \left (1+x\right )^4 \sqrt {1-\frac {2}{1+x}}+5040 \sqrt {1-\frac {2}{1+x}}+7560 \left (1+x\right )^2 \sqrt {1-\frac {2}{1+x}}}-\frac {252 I \left (1+x\right )^2}{-10080 \left (1+x\right ) \sqrt {1-\frac {2}{1+x}}-2520 \left (1+x\right )^3 \sqrt {1-\frac {2}{1+x}}+315 \left (1+x\right )^4 \sqrt {1-\frac {2}{1+x}}+5040 \sqrt {1-\frac {2}{1+x}}+7560 \left (1+x\right )^2 \sqrt {1-\frac {2}{1+x}}}-\frac {8 I \left (1+x\right )^4}{-10080 \left (1+x\right ) \sqrt {1-\frac {2}{1+x}}-2520 \left (1+x\right )^3 \sqrt {1-\frac {2}{1+x}}+315 \left (1+x\right )^4 \sqrt {1-\frac {2}{1+x}}+5040 \sqrt {1-\frac {2}{1+x}}+7560 \left (1+x\right )^2 \sqrt {1-\frac {2}{1+x}}}+\frac {I 72 \left (1+x\right )^3}{-10080 \left (1+x\right ) \sqrt {1-\frac {2}{1+x}}-2520 \left (1+x\right )^3 \sqrt {1-\frac {2}{1+x}}+315 \left (1+x\right )^4 \sqrt {1-\frac {2}{1+x}}+5040 \sqrt {1-\frac {2}{1+x}}+7560 \left (1+x\right )^2 \sqrt {1-\frac {2}{1+x}}}+\frac {I 420 \left (1+x\right )}{-10080 \left (1+x\right ) \sqrt {1-\frac {2}{1+x}}-2520 \left (1+x\right )^3 \sqrt {1-\frac {2}{1+x}}+315 \left (1+x\right )^4 \sqrt {1-\frac {2}{1+x}}+5040 \sqrt {1-\frac {2}{1+x}}+7560 \left (1+x\right )^2 \sqrt {1-\frac {2}{1+x}}}\right ] \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.16, size = 72, normalized size = 0.71
method | result | size |
gosper | \(\frac {\sqrt {1+x}\, \left (8 x^{4}-40 x^{3}+84 x^{2}-100 x +83\right )}{315 \left (1-x \right )^{\frac {9}{2}}}\) | \(35\) |
risch | \(\frac {\sqrt {\left (1+x \right ) \left (1-x \right )}\, \left (8 x^{5}-32 x^{4}+44 x^{3}-16 x^{2}-17 x +83\right )}{315 \sqrt {1-x}\, \sqrt {1+x}\, \left (-1+x \right )^{4} \sqrt {-\left (1+x \right ) \left (-1+x \right )}}\) | \(66\) |
default | \(\frac {\sqrt {1+x}}{9 \left (1-x \right )^{\frac {9}{2}}}+\frac {4 \sqrt {1+x}}{63 \left (1-x \right )^{\frac {7}{2}}}+\frac {4 \sqrt {1+x}}{105 \left (1-x \right )^{\frac {5}{2}}}+\frac {8 \sqrt {1+x}}{315 \left (1-x \right )^{\frac {3}{2}}}+\frac {8 \sqrt {1+x}}{315 \sqrt {1-x}}\) | \(72\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.35, size = 131, normalized size = 1.30 \begin {gather*} -\frac {\sqrt {-x^{2} + 1}}{9 \, {\left (x^{5} - 5 \, x^{4} + 10 \, x^{3} - 10 \, x^{2} + 5 \, x - 1\right )}} + \frac {4 \, \sqrt {-x^{2} + 1}}{63 \, {\left (x^{4} - 4 \, x^{3} + 6 \, x^{2} - 4 \, x + 1\right )}} - \frac {4 \, \sqrt {-x^{2} + 1}}{105 \, {\left (x^{3} - 3 \, x^{2} + 3 \, x - 1\right )}} + \frac {8 \, \sqrt {-x^{2} + 1}}{315 \, {\left (x^{2} - 2 \, x + 1\right )}} - \frac {8 \, \sqrt {-x^{2} + 1}}{315 \, {\left (x - 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.30, size = 86, normalized size = 0.85 \begin {gather*} \frac {83 \, x^{5} - 415 \, x^{4} + 830 \, x^{3} - 830 \, x^{2} - {\left (8 \, x^{4} - 40 \, x^{3} + 84 \, x^{2} - 100 \, x + 83\right )} \sqrt {x + 1} \sqrt {-x + 1} + 415 \, x - 83}{315 \, {\left (x^{5} - 5 \, x^{4} + 10 \, x^{3} - 10 \, x^{2} + 5 \, x - 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 57.54, size = 850, normalized size = 8.42
result too large to display
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 213 vs.
\(2 (71) = 142\).
time = 0.02, size = 366, normalized size = 3.62 \begin {gather*} 2 \left (\frac {\frac {1}{9}\cdot 5192296858534827628530496329220096 \left (-\frac {-2 \sqrt {x+1}+2 \sqrt {2}}{2 \sqrt {-x+1}}\right )^{9}+\frac {1}{7}\cdot 46730671726813448656774466962980864 \left (-\frac {-2 \sqrt {x+1}+2 \sqrt {2}}{2 \sqrt {-x+1}}\right )^{7}+\frac {1}{5}\cdot 186922686907253794627097867851923456 \left (-\frac {-2 \sqrt {x+1}+2 \sqrt {2}}{2 \sqrt {-x+1}}\right )^{5}+145384312038975173598853897218162688 \left (-\frac {-2 \sqrt {x+1}+2 \sqrt {2}}{2 \sqrt {-x+1}}\right )^{3}-\frac {327114702087694140597421268740866048 \left (-2 \sqrt {x+1}+2 \sqrt {2}\right )}{\sqrt {-x+1}}}{85070591730234615865843651857942052864}+\frac {-39690 \left (-\frac {-2 \sqrt {x+1}+2 \sqrt {2}}{2 \sqrt {-x+1}}\right )^{8}-8820 \left (-\frac {-2 \sqrt {x+1}+2 \sqrt {2}}{2 \sqrt {-x+1}}\right )^{6}-2268 \left (-\frac {-2 \sqrt {x+1}+2 \sqrt {2}}{2 \sqrt {-x+1}}\right )^{4}-405 \left (-\frac {-2 \sqrt {x+1}+2 \sqrt {2}}{2 \sqrt {-x+1}}\right )^{2}-35}{5160960 \left (-\frac {-2 \sqrt {x+1}+2 \sqrt {2}}{2 \sqrt {-x+1}}\right )^{9}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.36, size = 80, normalized size = 0.79 \begin {gather*} \frac {17\,x\,\sqrt {1-x}-83\,\sqrt {1-x}+16\,x^2\,\sqrt {1-x}-44\,x^3\,\sqrt {1-x}+32\,x^4\,\sqrt {1-x}-8\,x^5\,\sqrt {1-x}}{315\,{\left (x-1\right )}^5\,\sqrt {x+1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________